package com.baosight.risk.service.xtaa.code.entity;

import javax.persistence.*;

import com.baosight.risk.base.entity.BaseEntity;
import lombok.Data;

/**
 * Table: T_XTAA_CODE_TYPE
 */
@Data
@Table(name = "T_XTAA_CODE_TYPE")
public class XtaaCodeType extends BaseEntity {


    /**
     * 编码
     * <p>
     * Table:     T_XTAA_CODE_TYPE
     * Column:    DD_TYPE_CODE
     * Nullable:  false
     */
    @Column(name = "DD_TYPE_CODE")
    private String ddTypeCode;

    /**
     * 名称
     * <p>
     * Table:     T_XTAA_CODE_TYPE
     * Column:    DD_TYPE_NAME
     * Nullable:  false
     */
    @Column(name = "DD_TYPE_NAME")
    private String ddTypeName;

    /**
     * 说明
     * <p>
     * Table:     T_XTAA_CODE_TYPE
     * Column:    DD_TYPE_DESC
     * Nullable:  true
     */
    @Column(name = "DD_TYPE_DESC")
    private String ddTypeDesc;

    /**
     * 是否层级(1-是；0-否)
     * <p>
     * Table:     T_XTAA_CODE_TYPE
     * Column:    LEVEL_FLAG
     * Nullable:  false
     */
    @Column(name = "LEVEL_FLAG")
    private String levelFlag;

    /**
     * 状态（10-正常；20-停用）
     * <p>
     * Table:     T_XTAA_CODE_TYPE
     * Column:    STATUS
     * Nullable:  true
     */
    @Column(name = "STATUS")
    private String status;

    /**
     * 备注
     * <p>
     * Table:     T_XTAA_CODE_TYPE
     * Column:    REMARK
     * Nullable:  true
     */
    @Column(name = "REMARK")
    private String remark;

    /**
     * 排序
     * <p>
     * Table:     T_XTAA_CODE_TYPE
     * Column:    ROW_ORDER
     * Nullable:  true
     */
    @Column(name = "ROW_ORDER")
    private String rowOrder;

    private static final long serialVersionUID = 1L;
}